Skip to main content

All Questions

1vote
0answers
327views

Bash terminal lagging one input behind

After a recent update, I've noticed that working on any terminal for more than a few minutes causes a delay between inputting a keypress and seeing it reflected on the screen. Specifically, if I were ...
Nick Reed's user avatar
0votes
1answer
298views

Permission denied error when starting terminal

I'm getting this error when I start my terminal: /home/USERNAME/.config/envman/PATH.env:2: permission denied: /home/USERNAME/.local/bin this is my .zshrc file: # Enable Powerlevel10k instant prompt. ...
Ilgar's user avatar
0votes
1answer
67views

The key combination Alt + 6 for copy in nano does not work in GNOME terminal emulator Tilix

The key combination Alt + 6 for copy in nano does not work in tilix Does anyone know how to fix this? I had a look through all the key commands, but did not find any entry for Alt + 6 being already in ...
nath's user avatar
  • 6,074
0votes
1answer
167views

How does vim catch mouse scroll events?

I am writing a text editor. With 1049 (alternate screen) mode + 1000 (mouse tracking) mode enabled, the terminal is able to catch both mouse scroll events and click events. I do not need the click ...
user129393192's user avatar
0votes
1answer
310views

Auto-translation of newline characters in the terminal

I'm following along here. I notice (this is not complete, just for demonstration) that at this point: #include <termios.h> raw.c_iflag &= ~(ICRNL | IXON); raw.c_oflag &= ~(OPOST); ...
user129393192's user avatar
1vote
0answers
407views

Is there a terminal-based image viewer that enables directory browsing after viewing a single file?

I am searching for a lightweight terminal image viewer like feh,meh, sxiv, pqiv, or qiv, with the end objective of having a terminal image viewer that allows you to explore all pictures in a folder ...
DawsonLeery8913's user avatar
0votes
0answers
178views

the way to put the current line at the top of terminal

In a linux terminal, how to always put the current line at the top of the terminal. I tried z but it did not work, as it only works for vim.
user288609's user avatar
0votes
1answer
272views

How to source from stdout for both Linux and MacOS?

On Linux I can do: source <(cat .env | grep ANDROID_GRADLE_TASK) But on MacOS, this doesn't do anything (no error, and no source) I have tried to replace -di with --decode --input, it didn't help. ...
Dimitri Kopriwa's user avatar
1vote
1answer
373views

Why username and root are missing in linux server after installing tools with conda?

On the Linux server, I have my username that looks like below: (base) [david@meteor ~]$ I tried installing some tools using conda with the following: conda install -c bioconda or conda install -c ...
user9114's user avatar
-1votes
1answer
125views

Reading a file when logged in as another user

I have an issue with the following: I use the following command su -l alice then enter her password. Then I am asked to read the /root/token.txt file. I have tried the cmd "cat /root/token.txt&...
Dai Rhys-Jones's user avatar
0votes
0answers
294views

How to change Linux terminal prompt

I've been using Terminator as my terminal but after reconfiguring my display manager to 'Lightdm' after 'gdm3' crashed while installing updates, I messed something up, not with terminal, using the GUI ...
George's user avatar
7votes
2answers
4kviews

What exactly handles the Ctrl+X shortcut family (e.g. Ctrl+X Ctrl+E) in Linux terminals?

I've seen a lot of online resources mention several compound shortcuts beginning with Ctrl+X : Ctrlx Ctrle : Edits the current line in the $EDITOR program, or vi if undefined. Ctrlx Ctrlr : Read in ...
Alexander Gonchiy's user avatar
4votes
3answers
7kviews

How can we undo the clear command in Linux?

clear clears the screen of the terminal. Is there any command that can restore the original screen contents from before clear was run, effectively undoing that clear?
mohamadi_arch's user avatar
0votes
1answer
728views

Is there a way to programmatically set DISPLAY when executable is run as sudo instead of failing?

When I run any GUI application on Linux (Ubuntu) using sudo command from the Terminal, the application fails with QT error as below. Almost every application fails when attempted; here is an example ...
Vijesh K's user avatar
2votes
1answer
1kviews

hdparm secure erase with progress updates?

Does anyone know of a clever way to receive any sort of progress status updates using hdparm secure erase? Ideally the end result would be something like dd's status=progress attribute.
andDevW's user avatar

153050per page
close